@import "../../../../../assets/css/labb-lib";

.labb-icon-list {
  font-size: 0; /* Remove space between elements */
  width: 100%;
  &.labb-alignleft {
    text-align: left;
  }
  &.labb-alignright {
    text-align: right;
  }
  &.labb-aligncenter {
    text-align: center;
  }
  .labb-icon-list-item {
    display: inline-block;
    padding: 0;
    border: none;
    outline: none;
    margin: 0 0 0 15px;
    &:first-child {
      margin: 0;
      }
    .labb-icon-wrapper span {
      display: block;
      font-size: 32px;
      line-height: 1;
      color: #666;
      transition: color .3s ease-in-out 0s;
      }
    .labb-image-wrapper img {
      display: block;
      max-width: 100%;
      width: 32px;
      height: auto;
      margin: 0 auto;
      transition: all .4s ease-in-out 0s;
      }
    &:hover {
      .labb-image-wrapper img {
        opacity: 0.8;
        }
      .labb-icon-wrapper span {
        color: #333;
        }
      }
    }
  }

.labb-circular-icon-list .labb-icon-list {
  .labb-icon-list-item {
    margin: 0 0 0 25px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    @include respond-to-max(479) {
      margin: 0 0 20px 20px;
    }
    &:first-child {
      margin-left: 0;
    }
    .labb-dark-bg & {
      background: #48484a;
    }
    .labb-icon-wrapper span {
      font-size: 22px; /* Override user choice */
      padding: 14px 0;
    }
  }
}